<div class="box">
  <div class="box-header with-border">
    <h3 class="box-title">价格详情</h3>
  </div>
  <div class="box-body">
    <div class="row">
      <div class="col-md-6">
        <div class="form-group">
          <label>产品名称</label>
          <p class="form-control-static">{$info.product_name|default='--'}</p>
        </div>
      </div>
      <div class="col-md-6">
        <div class="form-group">
          <label>产品编号</label>
          <p class="form-control-static">{$info.product_code|default='--'}</p>
        </div>
      </div>

      <div class="col-md-6">
        <div class="form-group">
          <label>原价</label>
          <p class="form-control-static">￥{$info.original_price|default='0.00'}</p>
        </div>
      </div>

      <div class="col-md-6">
        <div class="form-group">
          <label>现价</label>
          <p class="form-control-static">￥{$info.current_price|default='0.00'}</p>
        </div>
      </div>

      <div class="col-md-6">
        <div class="form-group">
          <label>折扣</label>
          <p class="form-control-static">{$info.discount|default='100'}%</p>
        </div>
      </div>

      <div class="col-md-6">
        <div class="form-group">
          <label>生效时间</label>
          <p class="form-control-static">{$info.effective_time|default='--'}</p>
        </div>
      </div>

      <div class="col-md-6">
        <div class="form-group">
          <label>状态</label>
          <p class="form-control-static">
            {if condition="($info.status ?? 1) == 1"}
              <span class="label label-success">启用</span>
            {else/}
              <span class="label label-danger">禁用</span>
            {/if}
          </p>
        </div>
      </div>

      <div class="col-md-6">
        <div class="form-group">
          <label>创建时间</label>
          <p class="form-control-static">{$info.create_time|default='--'}</p>
        </div>
      </div>

      <div class="col-md-12">
        <div class="form-group">
          <label>备注</label>
          <p class="form-control-static">{$info.remark|default='无'}</p>
        </div>
      </div>
        
    </div>
  </div>
  <div class="box-footer">
    <button type="button" class="btn btn-default" onclick="layer.closeAll();">关闭</button>
  </div>
</div>